<div class="box box-info">
    <div class="box-header with-border">
        <h3 class="box-title"><a href="{:url('power/member')}" title="管理员列表"> 返回列表</a></h3>
    </div>
    <!-- /.box-header -->
    <!-- form start -->
    <form class="form-horizontal" action="{:url('power/addMember')}" method="post">
        <div class="box-body">
            <div class="form-group">
                <label for="username" class="col-sm-2 control-label">姓名</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" id="username" name='username'  placeholder="姓名" required >
                </div>
            </div>
            <div class="form-group">
                <label for="inputPassword3" class="col-sm-2 control-label">登录密码</label>
                <div class="col-sm-3">
                    <input type="password" class="form-control" id="inputPassword3" name="password" placeholder="登录密码" required>
                </div>
            </div>

            <!--
            <div class="form-group">
                <label for="nickname" class="col-sm-2 control-label">昵称</label>
                <div class="col-sm-3">
                    <input type="text" class="form-control" id="nickname" name="nickname" placeholder="昵称">
                </div>
            </div>
            -->
            <div class="form-group">
                <label for="email" class="col-sm-2 control-label">邮箱地址</label>
                <div class="col-sm-3">
                    <input type="email" class="form-control" id="email" name="email"  placeholder="邮箱地址" required />
                </div>
            </div>

            <div class="form-group">
                <label for="role" class="col-sm-2 control-label">角色名称</label>
                <div class="col-sm-3">
                    <select class="form-control" id ='role' name="roleid" required>
                        <option value="">选择角色</option>
                        {volist name="role" id="vo"}
                        <option value="{$key}">{$vo}</option>
                        {/volist}
                    </select>
                </div>
            </div>

            <!--div class="form-group">
                <label for="role" class="col-sm-2 control-label">启用状态</label>
                <div class="col-sm-10">
                    <div class="checkbox">
                        <label>
                            <input type="radio" name='is_use' value="1"  checked> 启用
                        </label>
                        <label>
                            <input type="radio" name='is_use' value="0"> 锁定
                        </label>
                    </div>
                </div>
            </div-->
            <hr/>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-primary">提交</button>
                </div>
            </div>
        </div>

    </form>
</div>